﻿@{
    Layout = null;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@{@WorkContext.MallConfig.SiteTitle}</title>
    @Html.Raw(WorkContext.MallConfig.SEOKeyword)
    @Html.Raw(WorkContext.MallConfig.SEODescription)
    <link href="@{@WorkContext.CSSCDN}/css/base.css" rel="stylesheet" type="text/css" />
    <link href="@{@WorkContext.CSSCDN}/css/home.css" rel="stylesheet" type="text/css" />
    <script src="@{@WorkContext.ScriptCDN}/scripts/jquery.js" type="text/javascript"></script>
    <script src="@{@WorkContext.ScriptCDN}/scripts/common.js" type="text/javascript"></script>
    <script src="@{@WorkContext.ScriptCDN}/scripts/jquery.soChange.js" type="text/javascript"></script>
    <script type="text/javascript">
        uid = @WorkContext.Uid;
        isGuestSC = @WorkContext.MallConfig.IsGuestSC;
        scSubmitType = @WorkContext.MallConfig.SCSubmitType;
    </script>
</head>
<body>
    <div id="index3" class="box" style="width:960px;height:450px;">
        <div class="indexPic left" style="width:960px;height:450px;">
            @{
                List<AdvertInfo>
                    bannerList = Adverts.GetAdvertList(43);
            }
                <ul>
                    @foreach (AdvertInfo info in bannerList)
                    {
                        <li>
                            <a href="@info.Url">
                                <img src="@{@WorkContext.ImageCDN}/upload/adv/@info.Image" width="960px" height="450px" />
                            </a>
                        </li>
    }
                </ul>
                <div class="indexPicBT">
                    @for (int i = 1; i <= bannerList.Count; i++)
                    {
                        <a href="#">@i</a>
                    }
                    <div class="clear"></div>
                </div>
                @if (bannerList.Count > 1)
                {
                    <script type="text/javascript">
                        $("#index1 .indexPic li").soChange({
                            thumbObj:"#index1 .indexPicBT a",
                            thumbNowClass:"hot",
                            changeTime:4200,
                            autoChange:true,
                            slideTime:300
                        })
                    </script>
                }
        </div>

    </div>
    <div id="index3" class="box" style="width:960px;height:300px;">
        <div style="width:960px;height:300px;float:left;">
            <a style="display:inline-block;" href="@Url.Action("login","account")"=login","account")"><img style="width:100%;height:100%" src="~/images/master.jpg" /></a>
        </div>
    </div>
    @*@Html.Partial("_footer")*@
</body>
</html>
